﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Diagnostics;
using System.Reflection;

namespace Wangzeran.CodeMaker.GUI.Forms
{
    /// <summary>
    /// 关于对话框
    /// </summary>
    public partial class AboutForm : Form
    {
        public AboutForm()
        {
            InitializeComponent();
        }

        private void btnClose_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            this.Close();
        }

        private void lnkMyBlog_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            Process.Start("iexplore.exe", "http://www.cnblogs.com/wangzeran/");
        }

        private void AboutForm_Load(object sender, EventArgs e)
        {
            lblSoftwareName.Text = "代码生成工具 " + 
                Assembly.GetExecutingAssembly().GetName().Version.ToString(3);
        }
    }
}
